/*
** my_memset.c for galaf in /home/compilation/galaf-lib
** 
** Made by christophe labonnemartinez
** Login   <labonn_c@epitech.net>
** 
** Started on  Fri Mar 23 04:56:31 2012 christophe labonnemartinez
** Last update Sat Aug 11 12:35:52 2012 christophe labonnemartinez
*/

#include "includes/my.h"

void		*my_memset(void *src, int c, unsigned int len)
{
  unsigned int	i;
  char		*tmp;

  i = 0;
  tmp = (char *)src;
  while (i < len)
    {
      tmp[i] = (unsigned char)c;
      i++;
    }
  return (tmp);
}
